//
//  CCRTAPIClient.h
//  iSeal6100
//
//  Created by He Yuan on 13-1-24.
//  Copyright (c) 2013年 http://www.heyuan110.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPClient.h"
#import "AFHTTPRequestOperation.h"

@interface APIClient : AFHTTPClient
{    
    NSMutableDictionary *allErrorDict;
    
    NSString *protocolVersion;
    
    NSString *appVersion;
}
@property(nonatomic,strong)NSMutableDictionary *allErrorDict;

@property(nonatomic,strong)NSString *protocolVersion;

@property(nonatomic,strong)NSString *appVersion;

+(APIClient *)sharedClient;

- (NSString *)errorMessageWithErrorCode:(NSString *)error;

+(NSString *)getPath:(NSDictionary *)value;

+(BOOL)isNetWork;

@end
